--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Commit 2354ba3412694108c7d68c2004e119ec20c95149
Parents : fa2382e
Author : Mark Qvist <mark@unsigned.io>
Date : 2022-06-11T15:03:43+02:00
Fixed missing dictionary initialisations
Changes
Diff
diff --git a/nomadnet/NomadNetworkApp.py b/nomadnet/NomadNetworkApp.py
index 69af68e..c04e8c7 100644
--- a/nomadnet/NomadNetworkApp.py
+++ b/nomadnet/NomadNetworkApp.py
@@ -200,6 +200,9 @@ class NomadNetworkApp:
"node_last_announce": None,
"propagation_node": None,
"last_lxmf_sync": 0,
+ "node_connects": 0,
+ "served_page_requests": 0,
+ "served_file_requests": 0
}
self.save_peer_settings()
RNS.log("Created new peer settings file")
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────